/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gch.programa.util;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 *
 * @author portatil
 */
public class PersistenceUtil {
    
    private static EntityManagerFactory emf;
    
    static {
        emf=Persistence.createEntityManagerFactory("PU_JMAD");
    }

    public static EntityManagerFactory getEmf() {
        return emf;
    }
    
}
